#include "widget.h"
#include "ui_widget.h"

Widget::Widget(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::Widget)
{
    ui->setupUi(this);
    ui->pushButton_sub->setToolTip("这是一个Sub的文本内容");
    ui->pushButton_sub->setToolTipDuration(7000);
}

Widget::~Widget()
{
    delete ui;
}


void Widget::on_pushButton_sub_clicked()
{

}
